﻿<Window x:Class="MyCommander.UI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:MyCommander.UI"
        Title="My Commander" Height="400" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="50"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="30"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>
        <Menu Grid.Row="0" VerticalAlignment="Top" Background="#CCC" Foreground="Black" Height="30" HorizontalAlignment="Stretch">
            <MenuItem>ceva</MenuItem>
        </Menu>
        <ToolBar Grid.Row="0" VerticalAlignment="Bottom"></ToolBar>
        <Grid Grid.Row="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="50*"/>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="50*"/>
            </Grid.ColumnDefinitions>
            <GridSplitter Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Stretch" ShowsPreview="True" Width="5" Margin="0" MouseDoubleClick="GridSplitter_MouseDoubleClick" Name="m_gridSplitter"/>
            <local:FileSystemPane Grid.Column="0" Background="#FCC" x:Name="LeftFsPane"></local:FileSystemPane>
            <!--local:FileSystemPane Grid.Column="2" Background="#CFC" x:Name="RightFsPane"></local:FileSystemPane-->
        </Grid>
        <!--local:CommandLine Grid.Row="2"/-->
        <TextBox TextWrapping="Wrap" VerticalAlignment="Stretch" Background="#CCF" Grid.Row="2"/>

        <ItemsControl Grid.Row="3" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Name="m_buttonLine">
            <ItemsControl.ItemContainerStyle>
                <Style>
                    <Setter Property="FrameworkElement.Margin" Value="1,0"/>
                </Style>
            </ItemsControl.ItemContainerStyle>
            <ItemsControl.ItemsPanel>
                <ItemsPanelTemplate>
                    <UniformGrid Rows="1">
                    </UniformGrid>
                </ItemsPanelTemplate>
            </ItemsControl.ItemsPanel>
        </ItemsControl>
        
        <!--Grid Grid.Row="3" Grid.IsSharedSizeScope="True" HorizontalAlignment="Center" VerticalAlignment="Stretch">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" SharedSizeGroup="A"></ColumnDefinition>
                <ColumnDefinition Width="*" SharedSizeGroup="A"></ColumnDefinition>
                <ColumnDefinition Width="*" SharedSizeGroup="A"></ColumnDefinition>
                <ColumnDefinition Width="*" SharedSizeGroup="A"></ColumnDefinition>
                <ColumnDefinition Width="*" SharedSizeGroup="A"></ColumnDefinition>
                <ColumnDefinition Width="*" SharedSizeGroup="A"></ColumnDefinition>
            </Grid.ColumnDefinitions>
                <Button Name="bntF3" Grid.Column="0" HorizontalAlignment="Stretch">F3 View</Button>
                <Button Name="bntF4" Grid.Column="1" HorizontalAlignment="Stretch">F4 Edit</Button>
                <Button Name="bntF5" Grid.Column="2" HorizontalAlignment="Stretch">F5 Copy</Button>
                <Button Name="bntF6" Grid.Column="3" HorizontalAlignment="Stretch">F6 Rename</Button>
                <Button Name="bntF7" Grid.Column="4" HorizontalAlignment="Stretch">F7 New Folder</Button>
                <Button Name="bntF8" Grid.Column="5" HorizontalAlignment="Stretch">F8 Delete</Button>
        </Grid-->
    </Grid>
</Window>
